<?php
namespace App\Admin\Controllers\Auth;

use App\Admin\Controllers\Controller;

class LoginController extends Controller
{
    public function login()
    {
        dd($this->guard()->user());
        $data = [
            'username' => 'admin',
            'password' => '12345678'
        ];
        dd($this->guard()->attempt($data));
    }
}
